<template>
  <div class="loading">
    <img width="24" height="24" src="./loading.gif" />
    <span class="text">{{title}}</span>
  </div>
</template>
<script>
export default {
  props: {
    title: {
      type: String,
      default: '正在载入...'
    }
  },
  data() {
    return {};
  }
}
</script>
<style lang="scss" rel="stylesheet/scss">
.loading {
  text-align: center;
  width: 100%;
  img {
    vertical-align: top;
  }
  .text {
    vertical-align: top;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    color:#7e8c8d;
  }
}
</style>


